//
//  Data.m
//  happyHealthyWalk
//
//  Created by newhuidong on 16/2/22.
//  Copyright © 2016年 HuiDong. All rights reserved.
//

#import "Data.h"

@implementation Data

+(instancetype)DataWithDic:(NSDictionary *)dic{
    
    return [[self alloc]initWithDic:dic];
    
}
-(instancetype)initWithDic:(NSDictionary *)dic{
    
    if (self=[super init]) {
        
        self.imageName=dic[@"imageName"];
        self.title=dic[@"title"];
        self.detail=dic[@"detail"];
        
        
    }
    return self;
    
    
}
@end
